package cn.mulanbay.admin.api.web.bean.request.auth;

import cn.mulanbay.persistent.query.Operator;
import cn.mulanbay.persistent.query.Query;

import java.util.List;

public class SystemFunctionTreeRequest{

    private Boolean needRoot;

    @Query(column = "function_data_type", op = Operator.IN)
    private List<Integer> intFunctionDataTypes;

    @Query(column = "sec_auth", op = Operator.EQ)
    private Boolean secAuth;

    @Query(column = "permission_auth", op = Operator.EQ)
    private Boolean permissionAuth;

    public Boolean getNeedRoot() {
        return needRoot;
    }

    public void setNeedRoot(Boolean needRoot) {
        this.needRoot = needRoot;
    }

    public List<Integer> getIntFunctionDataTypes() {
        return intFunctionDataTypes;
    }

    public void setIntFunctionDataTypes(List<Integer> intFunctionDataTypes) {
        this.intFunctionDataTypes = intFunctionDataTypes;
    }

    public Boolean getSecAuth() {
        return secAuth;
    }

    public void setSecAuth(Boolean secAuth) {
        this.secAuth = secAuth;
    }

    public Boolean getPermissionAuth() {
        return permissionAuth;
    }

    public void setPermissionAuth(Boolean permissionAuth) {
        this.permissionAuth = permissionAuth;
    }
}
